<template>
<div class="box" v-repeat="its:list" v-class="its.type">
	<h2><span v-text="its.title"></span></h2>
	<ul class="link">
		<li v-repeat="items:its.data">
			<a v-attr="href : items.link, target : '_blank'" v-text="items.name"></a>
		</li>
	</ul>
</div>
</template>

<script>
var home = require('../../static/json/home.json');

module.exports = {
	data :function(){
		return {
			list : home
		}
	}
}
</script>